export interface Cell {
  row: number;
  col: number;
  isMine: boolean;
  isRevealed: boolean;
  isFlagged: boolean;
  neighborMines: number;
}

export interface GameState {
  grid: Cell[][];
  gameStatus: 'playing' | 'won' | 'lost';
  difficulty: 'easy' | 'medium' | 'hard';
  timeElapsed: number;
  minesCount: number;
  isFirstClick: boolean;
}

export interface GameScore {
  id?: string;
  player_name: string;
  difficulty: string;
  time: number;
  created_at?: string;
}